import React from 'react'
import Item from "./Item"


export default function OrderListView ({ data }) {
  console.log(data);
  return (
    <div>
      {
        data.map((ele, index) => {
          return <Item key={index} data={ele}></Item>

        })
      }
    </div>
  )
}
